package com.gin.pixiv.response.illustration

import com.fasterxml.jackson.annotation.JsonAlias
import com.gin.pixiv.response.base.SearchBody
import com.gin.pixiv.response.common.PixivSearchResult

/**
 * 搜索绘画作品结果
 */
class IllustrationSearchBody : SearchBody() {
    @JsonAlias("illust", "illustManga")
    var illustManga: PixivSearchResult<SimpleIllustration>? = null
    var popular: Popular? = null

    companion object {
        class Popular {
            /**
             * 长期的
             */
            var permanent: List<SimpleIllustration>? = null

            /**
             * 最近的
             */
            var recent: List<SimpleIllustration>? = null
        }
    }
}